<template>
  <div>
    <el-row style="background-color: aqua;">
      <span><i class="el-icon-search el-icon--right"></i> 筛选查询</span>
      &nbsp;&nbsp;
      登记时间:
      <el-date-picker v-model="issuePageForm.startCreateTime" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"
        style="width: 150px;">
      </el-date-picker>~
      <el-date-picker v-model="issuePageForm.endCreateTime" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"
        style="width: 150px;">
      </el-date-picker>
      &nbsp;&nbsp;
      项目:
      <el-select v-model="issuePageForm.projectId" placeholder="请选择" style="width: 100px;" clearable>
        <el-option v-for="item in projects" :key="item.projectId" :label="item.projectName" :value="item.projectId">
        </el-option>
      </el-select>
      &nbsp;&nbsp;

      &nbsp;&nbsp;
      <el-button @click="findList()">查询<i class="el-icon-search el-icon--right"></i></el-button>
      <el-button>导出<i class="el-icon-printer el-icon--right"></i></el-button>
    </el-row>


  </div>
</template>

<script>
  import * as echarts from 'echarts'
  export default {
    data() {
      return {
        projects: [],
        issuePageForm: {
          current: 1,
          size: 10,
          startCreateTime: null,
          endCreateTime: null,
          issueState: null,
          projectId: null,
        },


      }
    },
    methods: {
        loadsimpleProject(){
          this.$http.get("infoIssueProject/getSimpleProject").then(resp=>{
            this.projects=resp.data.data;
            this.projects.push({projectId:-1,projectName:"全部"});
          })
        }

    },
    mounted() {
      this.loadsimpleProject();
      // this.loadPicture()
    }
  }
</script>

<style>


</style>
